<?php /* Smarty version 2.6.19, created on 2008-07-12 23:37:09
         compiled from stat/index.tpl */ ?>
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
smarty_core_load_plugins(array('plugins' => array(array('modifier', 'default', 'stat/index.tpl', 8, false),array('function', 'html_select_date', 'stat/index.tpl', 11, false),)), $this); ?>
<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "inc/header.tpl", 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?>

<div id="content">

<div id="panels" class="clear-float">
<div id="first-panel-list" class="panel-col">
        <div class="panel show_spaces" id="show_spaces">
          <h2>Chat statistic for <?php echo ((is_array($_tmp=@$this->_tpl_vars['preiod'])) ? $this->_run_mod_handler('default', true, $_tmp, 'week') : smarty_modifier_default($_tmp, 'week')); ?>
:</h2>
		  <h2>chande period:</h2>
		  <form action="" method="post">
		  date from: <?php echo smarty_function_html_select_date(array('prefix' => 'from_','selected_month' => ($this->_tpl_vars['month1']),'selected_year' => ($this->_tpl_vars['year']),'selected_day' => ($this->_tpl_vars['day']),'start_year' => "-5",'end_year' => "+10"), $this);?>

		  <br /><br />&nbsp;&nbsp;&nbsp;&nbsp;date to: <?php echo smarty_function_html_select_date(array('prefix' => 'to_','selected_month' => ($this->_tpl_vars['month2']),'selected_year' => ($this->_tpl_vars['year']),'selected_day' => ($this->_tpl_vars['day']),'start_year' => "-5",'end_year' => "+10"), $this);?>

		&nbsp;<input type="submit" name="submit" value="Submit" />
			</form>
<div class="panel-body">
  <ul class="spaces-list" id="my-spaces-list">
    
	<li class="_">
     Main page unique visitors: <b><?php echo $this->_tpl_vars['main_page_visitors']; ?>
</b>
    </li> 
	<li class="_">
     Total unique visitors: <b><?php echo $this->_tpl_vars['all_pages_visitors']; ?>
</b>
    </li>   
	<li class="_">
     <a href = "/admin/stat/rooms/">Unique visitors by room</a>
    </li> 
	<li class="_">
     New registed users:  <b><?php echo $this->_tpl_vars['new_users']; ?>
</b>
    </li>
	<li class="_">
     Guests:  <b><?php echo $this->_tpl_vars['new_guests']; ?>
</b>
    </li> 
	<li class="_">
     Most active users
    </li> 
  </ul>
  </div>
 </div>
 </div>
 <!--panels -->
 </div>

<!-- content-->
</div>

</body>
</html>